package sensores;

import java.util.List;
import vos.Dispositivo;

public abstract class Sensor {

	
	private double rangoMenor;
	private double rangoMayor;
	
	public abstract boolean activar();
	public abstract boolean desactivar();
	public abstract boolean accion();
	
	public abstract void setListAlarmas(List alarmasList);
	
	public abstract void setAlarmas(String alarmasName);
	
	public abstract Dispositivo getAlarmas(String name);
	
	public abstract String getAlarma();
	
	public abstract int getSize();
	
	public abstract void setInitSize();
	
	public void rango(double rangoMenor,double rangoMayor){
		this.rangoMenor = rangoMenor;
		this.rangoMayor = rangoMayor;
	}
	
	public double getRangoMenor(){
		return this.rangoMenor;
	}
	
	public double getRandoMayor(){
		return this.rangoMayor;
	}
}
